def ll = [
	'/static/js/yo.js', 
	'/static/js/yo-pages.js', 

	// TODO
//	'/wx/ind/peizi/main.js'

	'/wx/ind/shop/main.js',
	'/wx/ind/shop/order.js'
]
//String targetDir = 'peizi/'
String targetDir = 'shop/'

String baseDir = '../..'
String en = 'utf-8'

def sb = new StringBuilder()
for(one in ll){
	sb << new File(baseDir + one).getText(en)
	sb << "\r\n"
}

new File(targetDir + 'all.js').setText(sb.toString(), en)